package org.nimi317.web_gis.form.post;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.nimi317.web_gis.Enum.InterpolateEnum;

import java.util.Date;

/**
 * @author thunderobot
 */
@Data
@AllArgsConstructor
public class InterpolatePost {

    @NotNull
    private Date time;

    //插值类型
    @NotNull
    private InterpolateEnum type;

    @NotNull
    @Valid
    private KrigingPost param;
}
